package com.etao.restaurantentity.resp;

import java.util.ArrayList;

import com.fasterxml.jackson.annotation.JsonProperty;

public class ReturnValue {
	// Methods
	/*
	 * public JsonResult ToJsonResult(JsonRequestBehavior jrb = 0) { return new
	 * JsonResult { Data = this, JsonRequestBehavior = jrb }; }
	 * 
	 * public override string ToString() { return new
	 * JavaScriptSerializer().Serialize(this); }
	 */

	// Properties
	private String errarMess;

	private int hasService;
	
	private boolean isError;

	private Object objAddressResult;

	private ObjResult objResult;

	private String phone;
	
	private ArrayList result;

	private int rvNum;

	private Object supplierComment;

	private Object supplierRating;

	private String token;

	private int totalNumber;

	private int totalPage;

	private String tradeNo;

	public String getErrarMess() {
		return errarMess;
	}

	public void setErrarMess(String errarMess) {
		this.errarMess = errarMess;
	}

	public int getHasService() {
		return hasService;
	}

	public void setHasService(int hasService) {
		this.hasService = hasService;
	}
	@JsonProperty(value="isError")
	public boolean isError() {
		return isError;
	}

	public void setError(boolean isError) {
		this.isError = isError;
	}

	public Object getObjAddressResult() {
		return objAddressResult;
	}

	public void setObjAddressResult(Object objAddressResult) {
		this.objAddressResult = objAddressResult;
	}

	public ObjResult getObjResult() {
		return objResult;
	}

	public void setObjResult(ObjResult objResult) {
		this.objResult = objResult;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	@JsonProperty(value="Result")
	public ArrayList getResult() {
		return result;
	}

	public void setResult(ArrayList result) {
		this.result = result;
	}

	public int getRvNum() {
		return rvNum;
	}

	public void setRvNum(int rvNum) {
		this.rvNum = rvNum;
	}

	public Object getSupplierComment() {
		return supplierComment;
	}

	public void setSupplierComment(Object supplierComment) {
		this.supplierComment = supplierComment;
	}

	public Object getSupplierRating() {
		return supplierRating;
	}

	public void setSupplierRating(Object supplierRating) {
		this.supplierRating = supplierRating;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public int getTotalNumber() {
		return totalNumber;
	}

	public void setTotalNumber(int totalNumber) {
		this.totalNumber = totalNumber;
	}

	public int getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	@Override
	public String toString() {
		return "ReturnValue [errarMess=" + errarMess + ", hasService=" + hasService + ", isError=" + isError
				+ ", objAddressResult=" + objAddressResult + ", objResult=" + objResult + ", phone=" + phone
				+ ", Result=" + result + ", rvNum=" + rvNum + ", supplierComment=" + supplierComment
				+ ", supplierRating=" + supplierRating + ", token=" + token + ", totalNumber=" + totalNumber
				+ ", totalPage=" + totalPage + ", tradeNo=" + tradeNo + "]";
	}

}
